package com.dms.modules.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("地址信息")
public class AddressVO {
    
    @ApiModelProperty("地址ID")
    private Long id;
    
    @ApiModelProperty("收货人姓名")
    private String receiverName;
    
    @ApiModelProperty("收货人电话")
    private String receiverPhone;
    
    @ApiModelProperty("省份编码")
    private String provinceCode;
    
    @ApiModelProperty("省份")
    private String province;
    
    @ApiModelProperty("城市编码")
    private String cityCode;
    
    @ApiModelProperty("城市")
    private String city;
    
    @ApiModelProperty("区县编码")
    private String districtCode;
    
    @ApiModelProperty("区/县")
    private String district;
    
    @ApiModelProperty("详细地址")
    private String detailAddress;
    
    @ApiModelProperty("邮政编码")
    private String postCode;
    
    @ApiModelProperty("是否默认地址：0-否 1-是")
    private Integer isDefault;
    
    @ApiModelProperty("地址标签（如：家、公司等）")
    private String label;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
} 